import '../scss/common.scss';
import '../scss/iconfont.css';
import '../scss/carousel.scss';
import '../scss/header.scss';
import '../scss/home_title.scss';
import '../scss/list_board.scss';
import '../scss/footer.scss';

import HeaderNav from '../modules/HeaderNav';
import Carousel from '../modules/Carousel';
import HeaderSearch from '../modules/HeaderSearch';

;(($) => {
    const init = () => {

        let phoneData = JSON.parse($('#J_phoneData').html());
        new HeaderNav(phoneData).init();
        new HeaderSearch().init();
        new Carousel({
            autoplay: true,
            duration: 3000
        }).init();
    }
    init();
})(jQuery);